package cn.messageplus.core.test.server.controller;

import cn.messageplus.core.annotation.PathMapping;
import cn.messageplus.core.entity.Group;
import cn.messageplus.core.util.MpcUtil;

import java.util.List;

@PathMapping("/group")
public class GroupController {
    @PathMapping()
    public List<Group> selectGroupList() {
        return MpcUtil.getGroupList();
    }
}
